.class public final Lnbisdk/na;
.super Ljava/lang/Object;

# interfaces
.implements Lnbisdk/ln;


# static fields
.field private static sh:Ljava/util/Hashtable;


# instance fields
.field private ag:Lnbisdk/ej;

.field private e:Lnbisdk/px;

.field private f:Lnbisdk/ej;

.field private sc:Ljava/util/Vector;

.field private sd:[B

.field private se:S

.field private sf:D

.field private sg:D

.field private si:I

.field private sj:[Lnbisdk/cs;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    new-instance v0, Ljava/util/Hashtable;

    invoke-direct {v0}, Ljava/util/Hashtable;-><init>()V

    sput-object v0, Lnbisdk/na;->sh:Ljava/util/Hashtable;

    return-void
.end method

.method public constructor <init>(Lnbisdk/px;)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Ljava/util/Vector;

    invoke-direct {v0}, Ljava/util/Vector;-><init>()V

    iput-object v0, p0, Lnbisdk/na;->sc:Ljava/util/Vector;

    const/16 v0, 0xbb8

    iput-short v0, p0, Lnbisdk/na;->se:S

    iput-object p1, p0, Lnbisdk/na;->e:Lnbisdk/px;

    return-void
.end method

.method public static b(Ljava/lang/String;[B)V
    .locals 1

    sget-object v0, Lnbisdk/na;->sh:Ljava/util/Hashtable;

    invoke-virtual {v0, p0, p1}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public static ji()Ljava/util/Enumeration;
    .locals 1

    sget-object v0, Lnbisdk/na;->sh:Ljava/util/Hashtable;

    invoke-virtual {v0}, Ljava/util/Hashtable;->keys()Ljava/util/Enumeration;

    move-result-object v0

    return-object v0
.end method


# virtual methods
.method public final N()Lnbisdk/ej;
    .locals 1

    iget-object v0, p0, Lnbisdk/na;->f:Lnbisdk/ej;

    return-object v0
.end method

.method public final O()Lnbisdk/ej;
    .locals 1

    iget-object v0, p0, Lnbisdk/na;->ag:Lnbisdk/ej;

    return-object v0
.end method

.method public final a(IILnbisdk/ot;)Ljava/lang/String;
    .locals 3

    iget-object v0, p0, Lnbisdk/na;->e:Lnbisdk/px;

    invoke-virtual {v0}, Lnbisdk/px;->ku()Lnbisdk/b;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lnbisdk/b;->b(I)V

    invoke-virtual {p3}, Lnbisdk/ot;->jP()Lnbisdk/sh;

    move-result-object v0

    const/4 v1, 0x0

    iget-object v2, p0, Lnbisdk/na;->e:Lnbisdk/px;

    invoke-virtual {v2}, Lnbisdk/px;->ku()Lnbisdk/b;

    move-result-object v2

    invoke-virtual {v0, p1, v1, v2}, Lnbisdk/sh;->a(IZLnbisdk/b;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/na;->e:Lnbisdk/px;

    invoke-virtual {v1}, Lnbisdk/px;->ku()Lnbisdk/b;

    move-result-object v1

    invoke-virtual {v1}, Lnbisdk/b;->a()V

    return-object v0
.end method

.method public final a(IZLnbisdk/ot;Z)Lnbisdk/nu;
    .locals 6

    invoke-virtual {p3}, Lnbisdk/ot;->jQ()Lnbisdk/sh;

    move-result-object v0

    const/4 v2, 0x1

    const-string v4, "static-text"

    iget-object v1, p0, Lnbisdk/na;->e:Lnbisdk/px;

    invoke-virtual {v1}, Lnbisdk/px;->ku()Lnbisdk/b;

    move-result-object v5

    move v1, p1

    move v3, p4

    invoke-virtual/range {v0 .. v5}, Lnbisdk/sh;->a(IZZLjava/lang/String;Lnbisdk/b;)Lnbisdk/nu;

    move-result-object v0

    return-object v0
.end method

.method public final a(Lnbisdk/ej;)V
    .locals 0

    iput-object p1, p0, Lnbisdk/na;->f:Lnbisdk/ej;

    return-void
.end method

.method public final a(Lnbisdk/hq;)V
    .locals 1

    iget-object v0, p0, Lnbisdk/na;->sc:Ljava/util/Vector;

    invoke-virtual {v0, p1}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    return-void
.end method

.method public final aI(I)Lnbisdk/hq;
    .locals 1

    if-ltz p1, :cond_0

    iget-object v0, p0, Lnbisdk/na;->sc:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    if-lt p1, v0, :cond_1

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_1
    iget-object v0, p0, Lnbisdk/na;->sc:Ljava/util/Vector;

    invoke-virtual {v0, p1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/hq;

    move-object v0, p0

    goto :goto_0
.end method

.method public final aJ(I)J
    .locals 5

    const/4 v1, 0x0

    invoke-virtual {p0}, Lnbisdk/na;->iw()I

    move-result v0

    move v2, v1

    :goto_0
    if-ge v1, v0, :cond_0

    invoke-virtual {p0, v1}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v3

    invoke-interface {v3}, Lnbisdk/hq;->gf()J

    move-result-wide v3

    long-to-int v3, v3

    add-int/2addr v2, v3

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    int-to-long v0, v2

    return-wide v0
.end method

.method public final aK(I)D
    .locals 6

    if-gez p1, :cond_1

    const/4 v0, 0x0

    :goto_0
    invoke-virtual {p0}, Lnbisdk/na;->iw()I

    move-result v1

    const-wide/16 v2, 0x0

    :goto_1
    if-ge v0, v1, :cond_0

    invoke-virtual {p0, v0}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v4

    invoke-interface {v4}, Lnbisdk/hq;->getTotalDelay()D

    move-result-wide v4

    add-double/2addr v2, v4

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_0
    return-wide v2

    :cond_1
    move v0, p1

    goto :goto_0
.end method

.method public final aL(I)J
    .locals 6

    invoke-virtual {p0}, Lnbisdk/na;->iw()I

    move-result v0

    const-wide/16 v1, 0x0

    const/4 v3, 0x0

    :goto_0
    if-ge v3, v0, :cond_0

    invoke-virtual {p0, v3}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v4

    invoke-interface {v4}, Lnbisdk/hq;->gd()D

    move-result-wide v4

    double-to-long v4, v4

    add-long/2addr v1, v4

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_0
    return-wide v1
.end method

.method public final aM(I)Z
    .locals 3

    const/4 v2, 0x1

    const/4 v1, 0x0

    const/4 v0, -0x3

    if-ne p1, v0, :cond_0

    move v0, v2

    :goto_0
    return v0

    :cond_0
    invoke-virtual {p0, p1}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v0

    if-nez v0, :cond_1

    move v0, v1

    goto :goto_0

    :cond_1
    invoke-interface {v0}, Lnbisdk/hq;->getCommand()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lnbisdk/pj;->aB(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_2

    move v0, v2

    goto :goto_0

    :cond_2
    move v0, v1

    goto :goto_0
.end method

.method public final aT(I)V
    .locals 0

    iput p1, p0, Lnbisdk/na;->si:I

    return-void
.end method

.method public final b(IZ)Lnbisdk/ka;
    .locals 32

    const/4 v3, 0x0

    const/4 v13, 0x0

    const/4 v4, -0x3

    move/from16 v0, p1

    move v1, v4

    if-eq v0, v1, :cond_0

    const/4 v4, -0x1

    move/from16 v0, p1

    move v1, v4

    if-ne v0, v1, :cond_1

    :cond_0
    new-instance v3, Lnbisdk/ka;

    const-wide/16 v4, 0x0

    const/4 v6, 0x0

    const-wide/16 v7, 0x0

    const/4 v9, 0x0

    const/4 v10, 0x0

    const/4 v11, 0x0

    const/4 v12, -0x1

    const-wide/16 v13, 0x0

    const/4 v15, 0x0

    const-wide/16 v16, 0x0

    const/16 v18, 0x0

    const/16 v19, 0x0

    const/16 v20, -0x1

    invoke-direct/range {v3 .. v20}, Lnbisdk/ka;-><init>(DIDZLnbisdk/hq;Lnbisdk/hq;IDIDZLnbisdk/hq;I)V

    :goto_0
    return-object v3

    :cond_1
    const-wide/16 v4, 0x0

    const/4 v6, 0x0

    const-wide/16 v7, 0x0

    const/4 v9, 0x0

    const-wide/16 v14, 0x0

    const/16 v16, 0x0

    const-wide/16 v17, 0x0

    const/16 v19, 0x0

    const/4 v11, -0x1

    const/16 v20, -0x1

    invoke-virtual/range {p0 .. p1}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v10

    invoke-virtual/range {p0 .. p0}, Lnbisdk/na;->iw()I

    move-result v21

    move/from16 v26, v11

    move-wide v11, v4

    move/from16 v4, p1

    move-wide/from16 v27, v7

    move v7, v6

    move-object v8, v3

    move/from16 v3, v26

    move-wide/from16 v5, v27

    :goto_1
    move v0, v4

    move/from16 v1, v21

    if-ge v0, v1, :cond_4

    move-object/from16 v0, p0

    move v1, v4

    invoke-virtual {v0, v1}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v3

    move v0, v4

    move/from16 v1, p1

    if-eq v0, v1, :cond_2

    invoke-interface {v3}, Lnbisdk/hq;->getDistance()D

    move-result-wide v22

    add-double v11, v11, v22

    invoke-interface {v3}, Lnbisdk/hq;->fX()D

    move-result-wide v22

    const-wide/16 v24, 0x0

    cmpl-double v8, v22, v24

    if-eqz v8, :cond_3

    invoke-interface {v3}, Lnbisdk/hq;->getDistance()D

    move-result-wide v22

    invoke-interface {v3}, Lnbisdk/hq;->fX()D

    move-result-wide v24

    div-double v22, v22, v24

    :goto_2
    move-wide/from16 v0, v22

    double-to-int v0, v0

    move v8, v0

    add-int/2addr v7, v8

    invoke-interface {v3}, Lnbisdk/hq;->getTotalDelay()D

    move-result-wide v22

    add-double v5, v5, v22

    :cond_2
    invoke-interface {v3}, Lnbisdk/hq;->getCommand()Ljava/lang/String;

    move-result-object v8

    invoke-static {v8}, Lnbisdk/pj;->aB(Ljava/lang/String;)Z

    move-result v8

    if-eqz v8, :cond_a

    add-int/lit8 v8, v4, 0x1

    move/from16 v26, v4

    move v4, v8

    move-object v8, v3

    move/from16 v3, v26

    goto :goto_1

    :cond_3
    const-wide/16 v22, 0x0

    goto :goto_2

    :cond_4
    move-wide/from16 v26, v5

    move v6, v7

    move-wide v4, v11

    move v12, v3

    move-object v11, v8

    move-wide/from16 v7, v26

    :goto_3
    move/from16 v3, p1

    :goto_4
    move v0, v3

    move/from16 v1, v21

    if-ge v0, v1, :cond_8

    move-object/from16 v0, p0

    move v1, v3

    invoke-virtual {v0, v1}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v22

    if-le v3, v12, :cond_5

    invoke-interface/range {v22 .. v22}, Lnbisdk/hq;->getCommand()Ljava/lang/String;

    move-result-object v23

    invoke-static/range {v23 .. v23}, Lnbisdk/pj;->aB(Ljava/lang/String;)Z

    move-result v23

    if-eqz v23, :cond_8

    :cond_5
    move v0, v3

    move/from16 v1, p1

    if-eq v0, v1, :cond_7

    if-eqz v9, :cond_6

    invoke-interface/range {v22 .. v22}, Lnbisdk/hq;->fZ()Z

    move-result v9

    if-eqz v9, :cond_6

    const/4 v9, 0x1

    :goto_5
    add-int/lit8 v3, v3, 0x1

    goto :goto_4

    :cond_6
    const/4 v9, 0x0

    goto :goto_5

    :cond_7
    invoke-interface/range {v22 .. v22}, Lnbisdk/hq;->fZ()Z

    move-result v9

    goto :goto_5

    :cond_8
    if-eqz p2, :cond_9

    add-int/lit8 v3, v12, 0x1

    const/4 v13, 0x0

    move-object/from16 v0, p0

    move v1, v3

    move v2, v13

    invoke-virtual {v0, v1, v2}, Lnbisdk/na;->b(IZ)Lnbisdk/ka;

    move-result-object v3

    invoke-virtual {v3}, Lnbisdk/ka;->hx()D

    move-result-wide v13

    invoke-virtual {v3}, Lnbisdk/ka;->hy()I

    move-result v15

    invoke-virtual {v3}, Lnbisdk/ka;->hz()D

    move-result-wide v16

    invoke-virtual {v3}, Lnbisdk/ka;->hA()Z

    move-result v18

    invoke-virtual {v3}, Lnbisdk/ka;->hC()Lnbisdk/hq;

    move-result-object v19

    invoke-virtual {v3}, Lnbisdk/ka;->hD()I

    move-result v3

    move/from16 v20, v3

    :goto_6
    new-instance v3, Lnbisdk/ka;

    invoke-direct/range {v3 .. v20}, Lnbisdk/ka;-><init>(DIDZLnbisdk/hq;Lnbisdk/hq;IDIDZLnbisdk/hq;I)V

    goto/16 :goto_0

    :cond_9
    move/from16 v26, v19

    move-object/from16 v19, v13

    move-wide/from16 v27, v17

    move/from16 v18, v26

    move/from16 v29, v16

    move-wide/from16 v16, v27

    move-wide/from16 v30, v14

    move-wide/from16 v13, v30

    move/from16 v15, v29

    goto :goto_6

    :cond_a
    move/from16 v26, v4

    move-wide/from16 v27, v5

    move v6, v7

    move-wide v4, v11

    move-wide/from16 v7, v27

    move/from16 v12, v26

    move-object v11, v3

    goto :goto_3
.end method

.method final b(Lnbisdk/cs;Lnbisdk/cs;)V
    .locals 2

    const/4 v0, 0x2

    new-array v0, v0, [Lnbisdk/cs;

    const/4 v1, 0x0

    aput-object p1, v0, v1

    const/4 v1, 0x1

    aput-object p2, v0, v1

    iput-object v0, p0, Lnbisdk/na;->sj:[Lnbisdk/cs;

    return-void
.end method

.method public final c(Lnbisdk/ej;)V
    .locals 0

    iput-object p1, p0, Lnbisdk/na;->ag:Lnbisdk/ej;

    return-void
.end method

.method public final c(S)V
    .locals 0

    iput-short p1, p0, Lnbisdk/na;->se:S

    return-void
.end method

.method public final getRouteError()S
    .locals 1

    iget-short v0, p0, Lnbisdk/na;->se:S

    return v0
.end method

.method public final getRouteID()[B
    .locals 1

    iget-object v0, p0, Lnbisdk/na;->sd:[B

    return-object v0
.end method

.method public final getTotalDistance()D
    .locals 2

    iget-wide v0, p0, Lnbisdk/na;->sf:D

    return-wide v0
.end method

.method public final iw()I
    .locals 1

    iget-object v0, p0, Lnbisdk/na;->sc:Ljava/util/Vector;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lnbisdk/na;->sc:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    goto :goto_0
.end method

.method public final ix()[Lnbisdk/cs;
    .locals 1

    iget-object v0, p0, Lnbisdk/na;->sj:[Lnbisdk/cs;

    return-object v0
.end method

.method public final iy()I
    .locals 1

    iget v0, p0, Lnbisdk/na;->si:I

    return v0
.end method

.method public final jg()Ljava/util/Vector;
    .locals 1

    iget-object v0, p0, Lnbisdk/na;->sc:Ljava/util/Vector;

    return-object v0
.end method

.method public final jh()V
    .locals 6

    const-wide/16 v1, 0x0

    invoke-virtual {p0}, Lnbisdk/na;->iw()I

    move-result v0

    iput-wide v1, p0, Lnbisdk/na;->sf:D

    iput-wide v1, p0, Lnbisdk/na;->sg:D

    const/4 v1, 0x0

    :goto_0
    if-ge v1, v0, :cond_0

    iget-wide v2, p0, Lnbisdk/na;->sg:D

    invoke-virtual {p0, v1}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v4

    invoke-interface {v4}, Lnbisdk/hq;->gd()D

    move-result-wide v4

    add-double/2addr v2, v4

    iput-wide v2, p0, Lnbisdk/na;->sg:D

    iget-wide v2, p0, Lnbisdk/na;->sf:D

    invoke-virtual {p0, v1}, Lnbisdk/na;->aI(I)Lnbisdk/hq;

    move-result-object v4

    invoke-interface {v4}, Lnbisdk/hq;->getDistance()D

    move-result-wide v4

    add-double/2addr v2, v4

    iput-wide v2, p0, Lnbisdk/na;->sf:D

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method

.method public final jj()Z
    .locals 2

    iget-object v0, p0, Lnbisdk/na;->sc:Ljava/util/Vector;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/na;->sc:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    const/4 v1, 0x1

    sub-int/2addr v0, v1

    if-ltz v0, :cond_0

    iget-object v1, p0, Lnbisdk/na;->sc:Ljava/util/Vector;

    invoke-virtual {v1, v0}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lnbisdk/hq;

    invoke-interface {p0}, Lnbisdk/hq;->gi()Z

    move-result v0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public final q([B)V
    .locals 0

    iput-object p1, p0, Lnbisdk/na;->sd:[B

    return-void
.end method
